package vip.xiaonuo.supplier.modular.custom.custom.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.xiaonuo.supplier.modular.custom.custom.entity.SupplierCustom;
import vip.xiaonuo.supplier.modular.custom.custom.param.SupplierCustomAddParam;
import vip.xiaonuo.supplier.modular.custom.custom.param.SupplierCustomEditParam;
import vip.xiaonuo.supplier.modular.custom.custom.param.SupplierCustomIdParam;
import vip.xiaonuo.supplier.modular.custom.custom.param.SupplierCustomPageParam;

import java.util.List;

/**
 * 客户信息Service接口
 *
 * @author Mr.wu
 * @date  2025/03/17 11:20
 **/
public interface SupplierCustomService extends IService<SupplierCustom> {

    /**
     * 获取客户信息分页
     *
     * @author Mr.wu
     * @date  2025/03/17 11:20
     */
    Page<SupplierCustom> page(SupplierCustomPageParam supplierCustomPageParam);

    /**
     * 添加客户信息
     *
     * @author Mr.wu
     * @date  2025/03/17 11:20
     */
    void add(SupplierCustomAddParam supplierCustomAddParam);

    /**
     * 编辑客户信息
     *
     * @author Mr.wu
     * @date  2025/03/17 11:20
     */
    void edit(SupplierCustomEditParam supplierCustomEditParam);

    /**
     * 删除客户信息
     *
     * @author Mr.wu
     * @date  2025/03/17 11:20
     */
    void delete(List<SupplierCustomIdParam> supplierCustomIdParamList);

    /**
     * 获取客户信息详情
     *
     * @author Mr.wu
     * @date  2025/03/17 11:20
     */
    SupplierCustom detail(SupplierCustomIdParam supplierCustomIdParam);

    /**
     * 获取客户信息详情
     *
     * @author Mr.wu
     * @date  2025/03/17 11:20
     **/
    SupplierCustom queryEntity(String id);
}
